# You can configure the default icons used in adapt-strap compnents:
### Here is the default configuration for icons:

$adConfigProvider.iconClasses = {
    expand: 'glyphicon glyphicon-plus-sign',
    collapse: 'glyphicon glyphicon-minus-sign',
    loadingSpinner: 'glyphicon glyphicon-refresh ad-spin',
    firstPage: 'glyphicon glyphicon-fast-backward',
    previousPage: 'glyphicon glyphicon-backward',
    nextPage: 'glyphicon glyphicon-forward',
    lastPage: 'glyphicon glyphicon-fast-forward',
    sortAscending: 'glyphicon glyphicon-chevron-up',
    sortDescending: 'glyphicon glyphicon-chevron-down',
    sortable: 'glyphicon glyphicon-resize-vertical',
    draggable: 'glyphicon glyphicon-align-justify',
    selectedItem: 'glyphicon glyphicon-ok',
    alertInfoSign: 'glyphicon glyphicon-info-sign',
    alertSuccessSign: 'glyphicon glyphicon-ok',
    alertWarningSign: 'glyphicon glyphicon-warning-sign',
    alertDangerSign: 'glyphicon glyphicon-exclamation-sign'
}

$adConfigProvider.componentClasses = {
    tableLiteClass: 'table',
    tableAjaxClass: 'table'
}

### You can globally configure the pagination configuration like this during the app initialization:
angular.module('myApp').config(['$adConfigProvider', function ($adConfigProvider) {
    $adConfigProvider.iconClasses.collapse = 'glyphicon glyphicon-minus';
    $adConfigProvider.iconClasses.expand = 'glyphicon glyphicon-plus';
    $adConfigProvider.iconClasses.loadingSpinner = 'glyphicon glyphicon-repeat ad-spin';
    $adConfigProvider.iconClasses.firstPage = 'glyphicon glyphicon-fast-backward';
    $adConfigProvider.iconClasses.previousPage = 'glyphicon glyphicon-backward';
    $adConfigProvider.iconClasses.nextPage = 'glyphicon glyphicon-forward';
    $adConfigProvider.iconClasses.lastPage = 'glyphicon glyphicon-fast-forward';
    $adConfigProvider.iconClasses.sortAscending = 'glyphicon glyphicon-chevron-up';
    $adConfigProvider.iconClasses.sortDescending = 'glyphicon glyphicon-chevron-down';
    $adConfigProvider.iconClasses.sortable = 'glyphicon glyphicon-resize-vertical';
    $adConfigProvider.iconClasses.draggable = 'glyphicon glyphicon-align-justify';
    $adConfigProvider.iconClasses.selectedItem = 'glyphicon glyphicon-ok';
    $adConfigProvider.iconClasses.alertInfoSign = 'glyphicon glyphicon-info-sign';
    $adConfigProvider.iconClasses.alertSuccessSign = 'glyphicon glyphicon-ok';
    $adConfigProvider.iconClasses.alertWarningSign = 'glyphicon glyphicon-warning-sign';
    $adConfigProvider.iconClasses.alertDangerSign = 'glyphicon glyphicon-exclamation-sign';

    // component classes
    $adConfigProvider.componentClasses.tableLiteClass = 'table my-custom-class';
}])

### You can override global configuration at the directive usage level too.
